home *** CD-ROM | disk | FTP | other *** search
- object Form1: TForm1
- Left = 212
- Top = 99
- Width = 549
- Height = 308
- Caption = 'Master detail combo demo'
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'System'
- Font.Style = []
- PixelsPerInch = 96
- Position = poScreenCenter
- TextHeight = 16
- object Label1: TLabel
- Left = 64
- Top = 28
- Width = 85
- Height = 16
- Caption = 'Project name'
- end
- object Label2: TLabel
- Left = 64
- Top = 66
- Width = 61
- Height = 16
- Caption = 'Company'
- end
- object Label3: TLabel
- Left = 64
- Top = 104
- Width = 57
- Height = 16
- Caption = 'Manager'
- end
- object Label4: TLabel
- Left = 64
- Top = 168
- Width = 57
- Height = 16
- Caption = 'Manager'
- end
- object DBNavigator1: TDBNavigator
- Left = 168
- Top = 236
- Width = 225
- Height = 25
- DataSource = DataProjects
- VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
- TabOrder = 0
- end
- object DBEdit1: TDBEdit
- Left = 164
- Top = 24
- Width = 233
- Height = 24
- DataField = 'ProjectName'
- DataSource = DataProjects
- MaxLength = 40
- TabOrder = 1
- end
- object mdDBLookupCombo1: TmdDBLookupCombo
- Left = 164
- Top = 64
- Width = 233
- Height = 25
- DataField = 'CompanyID'
- DataSource = DataProjects
- LookupSource = DataCompanies
- LookupDisplay = 'CompanyName'
- LookupField = 'CompanyID'
- Style = csDropDownList
- TabOrder = 2
- end
- object mdDBLookupCombo2: TmdDBLookupCombo
- Left = 164
- Top = 104
- Width = 233
- Height = 25
- DataField = 'ManagerID'
- DataSource = DataProjects
- LookupSource = DataManagers
- LookupDisplay = 'ManagerName'
- LookupField = 'ManagerID'
- Style = csDropDownList
- TabOrder = 3
- end
- object Button1: TButton
- Left = 416
- Top = 100
- Width = 69
- Height = 33
- Caption = 'Readonly'
- TabOrder = 4
- OnClick = Button1Click
- end
- object mdDBLookupList1: TmdDBLookupList
- Left = 164
- Top = 144
- Width = 233
- Height = 73
- DataField = 'ManagerID'
- DataSource = DataProjects
- LookupSource = DataManagers2
- LookupDisplay = 'ManagerName'
- LookupField = 'ManagerID'
- TabOrder = 5
- end
- object DataDemo: TDatabase
- Connected = True
- DatabaseName = 'Demo'
- DriverName = 'STANDARD'
- LoginPrompt = False
- Params.Strings = (
- 'PATH=\combdemo')
- end
- object TableProjects: TTable
- Active = True
- DatabaseName = 'Demo'
- TableName = 'PROJECTS.DB'
- Top = 28
- end
- object DataProjects: TDataSource
- DataSet = TableProjects
- Left = 28
- Top = 28
- end
- object TableCompanies: TTable
- Active = True
- DatabaseName = 'Demo'
- IndexFieldNames = 'CompanyID'
- TableName = 'COMPANY.DB'
- Top = 64
- end
- object DataCompanies: TDataSource
- DataSet = TableCompanies
- Left = 28
- Top = 64
- end
- object TableManager: TTable
- Active = True
- DatabaseName = 'Demo'
- IndexFieldNames = 'CompanyID;ManagerID'
- MasterFields = 'CompanyID'
- MasterSource = DataProjects
- TableName = 'MANAGER.DB'
- Top = 100
- end
- object DataManagers: TDataSource
- DataSet = TableManager
- Left = 28
- Top = 100
- end
- object TableManagers2: TTable
- Active = True
- DatabaseName = 'Demo'
- IndexFieldNames = 'CompanyID;ManagerID'
- MasterFields = 'CompanyID'
- MasterSource = DataProjects
- TableName = 'MANAGER.DB'
- Top = 152
- end
- object DataManagers2: TDataSource
- DataSet = TableManagers2
- Left = 28
- Top = 152
- end
- end
-